Svelte hydration

Posted on 2023-07-12 by

henrikvilhelmberglund

Hydration refers to the process where the client side interactivity gets injected into the server rendered HTML. Using SvelteKit this happens automatically which is nice, but it's also possible to do it yourself by using hydratable: "true" inside of compile().

I think this is a bit hard to demonstrate on this site though so I'll just link the video itself which I found interesting:

Youtube video: